<!--
 * @Author: ljc
 * @Date: 2024-08-19 14:11:16
 * @LastEditors: g05047
 * @LastEditTime: 2024-08-19 14:13:07
 * @Description: 区划单位树是否隐藏
-->
<template>
  <el-form-item label="onToggleHidden"
    label-width="150px">
    <el-button type="info"
      icon="el-icon-edit"
      plain
      round
      @click="editEventHandler('onToggleHidden',eventParams)">
      {{i18nt('designer.setting.addEventHandler')}}</el-button>
  </el-form-item>
</template>

<script>
import i18n from "@/utils/i18n"
import eventMixin from "@/components/form-designer/setting-panel/property-editor/event-handler/eventMixin"

export default {
  name: "onToggleHidden-editor",
  mixins: [i18n, eventMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object,
  },
  data() {
    return {
      eventParams: ['value',],
    }
  },
  mounted() {
  },
  methods: {
  }
}
</script>

<style scoped>
</style>
